<?

/* Prints sub navigation of different type os input */

echo "<div class='sub-navigation'>";
if ($edit_selected!='' || $_POST['Submit']=='Plain Text Edit' || $_POST['Submit']=='Form Edit') {
        echo "<input name='Submit'";
        if ($_GET['input'] != "plain") {
                echo " class='selected'";
        }
        echo " value='Form Edit' type='Submit' />\n";
        echo "<input name='Submit'";
        if ($_GET['input'] == "plain") {
                echo " class='selected'";
        }
        echo " value='Plain Text Edit' type='Submit' />\n";
} else {
        echo "<input name='Submit'";
        if ($_GET['input'] != "plain") {
                echo " class='selected'";
        }
        echo " value='Form Input' type='Submit' />\n";
        echo "<input name='Submit'";
        if ($_GET['input']=="plain") {
                echo " class='selected'";
        }
        echo " value='Plain Text Input' type='Submit' />\n";
}
echo "<input name='Submit' type='Submit' value='Cancel' />\n";
echo "</div>\n";


?>
